﻿namespace LeadMaster.Models
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Web;
    using DataAnnotationsExtensions;
    using System.ComponentModel.DataAnnotations;

    public class Orders
    {
        public int OrderID { get; set; }

        [Display(Name="Schedule Template")]
        public int ScheduleTemplateID { get; set; }

        [Display(Name="Leads Replacement")]
        public int LeadsReplacementID { get; set; }

        [Display(Name="Invoicing")]
        public int InvoicingID { get; set; }

        [Display(Name="Payment Terms")]
        public int PaymentTermsID { get; set; }

        [Display(Name="Order Status")]
        public int OrderStatusID { get; set; }

        public string Title { get; set; }

        public string FeesOther { get; set; }

        public int CompanyID { get; set; }

        public int FrameworkAgreementID { get; set; }

        public string Guarantee { get; set; }

        public virtual ScheduleTemplate ScheduleTemplate { get; set; }
        public virtual Invoicing Invoicing { get; set; }
        public virtual PaymentTerms PaymentTerms { get; set; }
        public virtual OrderStatus OrderStatus { get; set; }
        public virtual LeadsReplacement LeadsReplacement { get; set; }
        public virtual ICollection<Fees> OrderFees { get; set; }
        public virtual Companies Company { get; set; }
        public virtual FrameworkAgreements FrameworkAgreement { get; set; }
    }
}